package com.jack.payment.entity.generate.config;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.jack.payment.entity.common.CommonParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "支付宝支付配置")
@JsonInclude(value=JsonInclude.Include.NON_NULL)
public class ConfigPayAliModel extends CommonParam implements Serializable {
    @Schema(description = "区分 [1: 密钥模式 2:证书模式]")
    private Integer type;
    @Schema(description = "应用id")
    private String appId;
    @Schema(description = "私钥")
    private String privateKey;
    @Schema(description = "密钥模式, 支付宝公钥")
    private String alipayPublicKey;
    @Schema(description = "证书模式, 支付宝公钥")
    private String alipayPublicCertContent;
    @Schema(description = "证书模式, 商户公钥")
    private String appCertContent;
    @Schema(description = "证书模式, 根证书内容")
    private String rootCertContent;
    @Schema(description = "网关")
    private String gateway;
}
